package com.xx.service;

import com.xx.dao.UserDao;
import com.xx.dao.UserDaoImpl;

public class UserServiceImpl2 implements UserService {
    UserDao userDao;

    public UserServiceImpl2(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserServiceImpl2() {
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
